package cn.juforg.gobang;

public class Constants {
	public static final char HORIZONTAL = 'h';
	public static final char VERTICAL = 'z';
	public static final char SLANT = 'x';
	public static final char BACKWARD_SLANT = 'f';
	public static final int FRONT = 1;
	public static final int BEHIND = -1;
	
	public static final int CHESSBAORD_TYPE = 15;			//棋盘大小
	public static final int MID_POINT = CHESSBAORD_TYPE/2+1; //棋盘中点
	
	public static int WINDOW_HEIGHT ;
	public static int TITLE_STATUS_OFFSET ;
	
	public enum STATUS{
		READY ,				//等待开始
		RUNNING,			//正在游戏中
		PLAYER_ONE_LOST,	//玩家一输了
		PLAYER_TWO_LOST 	////玩家二输了
	}
	
	public enum GESTUREMODE{
		NONE, //无
		DRAG, //拖拽
		ZOOM  //缩放
	}
}